package com.objecteffects.ilmp.web.action;

/**
 * @author Rusty Wright
 */
public enum OldIlmpView {
    VIEW_MESSAGES("show_message.jsp"),
    VIEW_ERROR("tumblr_error.jsp"),
    VIEW_AUTH_START("auth_urls.jsp"),
    VIEW_AUTH_DONE("auth_urls_done.jsp"),
    VIEW_INPUT_START("input_tumblr.jsp"),
    VIEW_TUMBLR_START_ALL("tumblr_start_all.jsp"),
    VIEW_TUMBLR_START_URL("tumblr_start_url.jsp"),
    VIEW_TUMBLR_RESPONSE_URL("tumblr_response_url.jsp"),
    VIEW_LOGIN("user_login.jsp"),
    VIEW_REGISTER_START("user_register.jsp"),
    VIEW_REGISTER_COMPLETE("registration_complete.jsp"),
    VIEW_POSTS("posts.jsp"),
    VIEW_POSTS_DONE("posts_done.jsp"),
    VIEW_TUMBLR_METHODS_TEST("tumblr_methods_test.jsp");

    private static final String JSP_BASE = "/WEB-INF/jsp/";

    private final String jsp;

    OldIlmpView(final String _jsp) {
        this.jsp = OldIlmpView.JSP_BASE + _jsp;
    }

    @Override
    public String toString() {
        return this.jsp;
    }

    public String toJsp() {
        return this.jsp;
    }
}
